package com.example.smartagriculture.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.io.Serial;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

/**
 * light _monitoring_msg 实体类
 * @author 张芸博
 * @since 2024-12-10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("light_monitoring_msg")
public class LightMonitoringMsg implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @Schema(name = "id", description = "id")
    private Integer id;

    /**
     * 果园id
     */
    @Schema(name = "orchard_id", description = "果园id")
    private Integer orchardId;

    /**
     * 光照传感器id
     */
    @Schema(name = "light_sensor_id", description = "光照传感器id")
    private Integer lightSensorId;

    /**
     * 光照强度
     */
    @Schema(name = "light_intensity", description = "光照强度")
    private String lightIntensity;

    /**
     * 光照持续时长
     */
    @Schema(name = "light_time", description = "光照持续时长")
    private String lightTime;

    /**
     * 备注
     */
    @Schema(name = "remark", description = "备注")
    private String remark;

    /**
     * 检测日期
     */
    @Schema(name = "data_date", description = "检测日期")
    private LocalDateTime dataDate;

    /**
     * 监测时长
     */
    @Schema(name = "monitoring_duration", description = "监测时长")
    private String monitoringDuration;


}
